﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../resource/css/card.css">
<title>无标题文档</title>
</head>
<?php
require("../php/connection.php"); ?>
<?php 
	session_start();
	$user_id = $_SESSION['user_id'];
   $query = "SELECT * FROM basc_message where user_id= $user_id";
   $result = mysql_query($query) or die("Query failed");
   $row = mysql_fetch_row($result);
   $_SESSION['user_wedding_message']=$row;
?>
<body>
<div class="card-container">
<div class="card-left">
<div class="card-header">
This unbreakable bond that unites as one, <br/>
Is as strong as the ascent ofthe morning sun. <br/>
Infinite days and nights of joy stream by, <br/>
And evenbeyond the day we die.<br/>
</div>
<div class="card-header">
沉经在幸福中的我们将于<br/>
公立<?php echo $row[2]?>年<?php echo $row[3]?>月<?php echo $row[4]?>日<br/>
举行结婚典礼！<br/>
时间：<?php echo $row[5]?><br/>
席设：<?php echo $row[8]?><br/>
新郎：<?php echo $row[6]?> 新娘：<?php echo $row[7]?><br/>
诚意邀请你共同风向这份喜悦<br/>
我们期待您的光临<br/>
相信您的光临和幸福将使婚礼<br/>
更添色彩<br/>
</div>

</div>
<div class="card-right">
<img src="../../upload/test/invite-pic.jpg"/>
</div>

<input type="button"  value="修改" onclick="window.location.href='editCard.php';" />
</div>
<?php 
mysql_free_result($result);
?>
</body>
</html>
